<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div>
        1907C
    </div>

    <script>
        function throwErroe (num) {
            if(num>10){
                //  throw  抛出自定义错误
                throw "num的值大于10"
            }
            return num;
        }
        throwErroe(14)
    </script>
</body>
</html>